<template>
  <router-view></router-view>
</template>

<script setup>
// App root component
</script>

<style>
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#app {
  height: 100%;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* 禁用长按菜单 */
* {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

/* 允许输入框选择文本 */
input, textarea {
  -webkit-user-select: auto;
  user-select: auto;
}
</style> 